autoResizeWidthSize

fun ERROR CLASS: Symbol not found for BoxWithConstraintsScope.autoResizeWidthSize(min: ERROR CLASS: Symbol not found for Dp, max: ERROR CLASS: Symbol not found for Dp, step: ERROR CLASS: Symbol not found for Dp = 2.dp, contentPadding: ERROR CLASS: Symbol not found for PaddingValues = PaddingValues(0.dp)): ERROR CLASS: Symbol not found for Dp

EN Largest width in min…max that fits the inner width (after contentPadding) of this box.

Image(Modifier.fillMaxWidth().height(autoResizeWidthSize(40.dp, 200.dp)), …)

fun ERROR CLASS: Symbol not found for BoxWithConstraintsScope.autoResizeWidthSize(min: Number, max: Number, step: Number = 2, contentPadding: ERROR CLASS: Symbol not found for PaddingValues = PaddingValues(0.dp)): ERROR CLASS: Symbol not found for Dp


fun ERROR CLASS: Symbol not found for BoxWithConstraintsScope.autoResizeWidthSize(min: ResizeBound, max: ResizeBound, step: ResizeBound = resizeFixedDp(1f), contentPadding: ERROR CLASS: Symbol not found for PaddingValues = PaddingValues(0.dp)): ERROR CLASS: Symbol not found for Dp

EN min/max/step as ResizeBound: fixed dp/sp or screen % (sw / w / h via com.appdimens.dynamic.core.resizePercentSw etc.).